package com.geovis.emergency.spd.biz.pc.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.geovis.common.auth.util.AuthUtil;
import com.geovis.emergency.spd.biz.pc.mapper.PcPlottingMapper;
import com.geovis.emergency.spd.biz.pc.service.IPcPlottingService;
import com.geovis.emergency.spd.entity.pc.entity.PcPlotting;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 应急预案指挥模块-标绘信息 服务实现类
 * </p>
 *
 * @author 曾德实
 * @since 2022-05-05
*/

@Service
@RequiredArgsConstructor
@Slf4j
public class PcPlottingServiceImpl extends ServiceImpl<PcPlottingMapper, PcPlotting> implements IPcPlottingService {

    @Override
    public List<PcPlotting> getListByDrillId(String pcDrillId) {
        return baseMapper.getListByDrillId(pcDrillId, AuthUtil.getCurrentUserId());
    }
}
